package com.lanou.service.imp;

import com.lanou.bean.Refer;
import com.lanou.mapper.ReferMapper;
import com.lanou.service.ReferService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by dllo on 18/4/16.
 */
@Service
public class ReferServiceImpl implements ReferService {
    @Resource
    private ReferMapper referMapper;
    @Override
    public List<Refer> referAll() {
        return referMapper.selectRefer();
    }
}
